//
//  TCFoundation.swift
//  SwiftTestDemo
//
//  Created by John on 2018/5/22.
//  Copyright © 2018年 company. All rights reserved.
//

import Foundation
import UIKit

func RGBA(_ redFlot:Float,_ greenFloat:Float,_ blueFloat:Float,_ alphaFloat:Float) -> UIColor {
    
    return UIColor.init(red: CGFloat(redFlot/255.0), green: CGFloat(greenFloat/255.0), blue: CGFloat(blueFloat/255.0), alpha: CGFloat(alphaFloat))
    
}

//用于大背景
let color_Backgroud = RGBA(243,246,251,1)

let def_color_Secondary = RGBA(102,102,102,1)

let customBlueColor = RGBA(68,138,255,1)

//用于选中、成功提示
let def_text_Blue = RGBA(68,138,255,1)


let font_List_Bold = UIFont.boldSystemFont(ofSize: 16)




